package org.medusa.db.handlersocket;

import org.medusa.packet.blob.LinePacket;

/**
 * Command Response
 */
class CommandResponse {

	public int result_code;
	public String[] data;

	public CommandResponse(LinePacket recv) {

		String result_code_str = recv.ReadLine((byte) '\t');
		this.result_code = Integer.parseInt(result_code_str);
		String data = recv.ReadLine((byte) '\n');
		this.data = data.split("\t");
	}

}